package _04构造代码块;

public class Student {

    private String name;

    {
        System.out.println("构造代码块执行了");
    }


    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
